package com.emep.changzhi.analyse.repository.aqi;

import com.emep.changzhi.analyse.entity.aqi.Weather;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author yangj
 * @version V1.0
 * @Description: DOTO
 * @date 2018/3/26  15:13
 */
public interface WeatherRepository extends JpaRepository<Weather , String>{

    List<Weather> findByCityCode(String cityCode , Sort sort);
}
